﻿'Description:工厂类 新方法命名规则：Get+功能名+Object
'Copyright (c) : 通力凯顿（北京）系统集成有限公司
'Writer:
'create Date:
'Rewriter:Yangsj
'Rewrite Date:2017-3-24
Imports BusinessRule.IBusiness
Imports BusinessRule.Business

Public Class uMESBusinessFactory

    Public Shared ReadOnly instance As New uMESBusinessFactory()
    Private Sub New()
    End Sub
#Region "旧有工厂类方法（机匣使用）"
    Public Function GetExampleObject() As uMESExampleIBusiness
        Return New uMESExampleBusiness()
    End Function
    Public Function GetProblemFeedbackObject() As uLMSProblemFeedbackIBusiness
        Return New uLMSProblemFeedbackBusiness()
    End Function

    Public Function GetQualityHistoryRecordObject() As uLMSQualityHistoryRecordIBusiness
        Return New uLMSQualityHistoryRecordBusiness()
    End Function

    Public Function GetCheckPointManageObject() As uMESCheckPointManageIBusiness
        Return New uMESCheckPointManageBusiness()
    End Function

    Public Function GetCheckTempObject() As uMESCheckTempBusiness
        Return New uMESCheckTempBusiness()
    End Function

    Public Function GetbjDispatchObject() As uMES_bjDispatchIBusiness
        Return New uMES_bjDispatchBusiness()
    End Function

    Public Function GetDispatchObject() As uMESDispatchIBusiness
        Return New uMESDispatchBusiness()
    End Function

    Public Function GetCommonObject() As uMESCommonIBusiness
        Return New uMESCommonBusiness()
    End Function

    Public Function GetMainViewObject() As uMESMainViewIBusiness
        Return New uMESMainViewBusiness()
    End Function

    Public Function GetResourceParameterObject() As uMESResourceParameterIBusiness
        Return New uMESResourceParameterBusiness()
    End Function

    Public Function GetuMESLoginObject() As uMESLoginBusiness
        Return New uMESLoginBusiness()
    End Function

    Public Function GetuMESQualityRecordObject() As uMESQualityRecordBusiness
        Return New uMESQualityRecordBusiness()
    End Function

    Public Function GetuMESCheckMainObject() As uMESCheckMainBusiness
        Return New uMESCheckMainBusiness()
    End Function

    Public Function GetScrapInfoObject() As uMESScrapInfoIBusiness
        Return New uMESScrapInfoBusiness()
    End Function

    Public Function GetSynergicObject() As uMESSynergicIBusiness
        Return New uMESSynergicBusiness()
    End Function

    Public Function GetSynergicTestObject() As uMESSynergicIBusinessTest
        Return New uMESSynergicBusinessTest()
    End Function

    Public Function GetDocViewObject() As uMESDocViewIBusiness
        Return New uMESDocViewBusiness()
    End Function

    Public Function GetContainerReportObject() As uMESContainerReportIBusiness
        Return New uMESContainerReportBusiness()
    End Function

    Public Function GetContainerInfoPrintObject() As uMESContainerInfoPrintIBusiness
        Return New uMESContainerInfoPrintBusiness()
    End Function

    Public Function GetDomainManageObject() As uMESDomainManageIBusiness
        Return New uMESDomainManageBusiness()
    End Function

    Public Function GetSecurityAuditObject() As uMESSecurityAuditBusiness
        Return New uMESSecurityAuditBusiness()
    End Function

    Public Function GetPlanObject() As uMES_OperationPlanIBusiness
        Return New uMES_OperationPlanBusiness()
    End Function

    Public Function GetJXContainerCardObject() As uMES_JXContainerCardIBusiness
        Return New uMES_JXContainerCardBusiness()
    End Function

    Public Function GetContainerInfoPrintObject(ByVal strName As String) As uMESContainerInfoPrintIBusiness
        If strName = "LY_JX" Then
            Return New uMES_JX_ContainerInfoPrintBusiness()
        Else
            Return Nothing
        End If
    End Function

    Public Function GetBjStandFunction() As uMES_bjStandFunctionIBusiness
        Return New uMES_bjStandFunctionBusiness()
    End Function

    Public Function GetbjCommonObject() As uMES_bjCommonIBusiness
        Return New uMES_bjCommonBusiness()
    End Function

    Public Function GetProblemObject() As uMES_JXProblemIBusiness
        Return New uMES_JXProblemBusiness()
    End Function

    Public Function GetuLMSProblemObject() As uLMSProblemIBusiness
        Return New uLMSProblemBusiness()
    End Function

    Public Function GetContainerDelObject() As uMESContainerDelIBusiness
        Return New uMESContainerDelBusiness()
    End Function

    Public Function GetJXModifyWorking() As uMES_JXModifyWorkingIBusiness
        Return New uMES_JXModifyWorkingBusiness()
    End Function

#End Region

#Region "结构件黎阳工厂类"
    ''' <summary>
    ''' 获取计划管理对象
    ''' </summary>
    ''' <returns></returns>
    ''' <remarks></remarks>
    Public Function GetuLMSMfgOrderObject() As uLMSMfgOrderIBusiness
        Return New uLMSMfgOrderBusiness()
    End Function
    ''' <summary>
    ''' 获取通用业务对象
    ''' </summary>
    ''' <returns></returns>
    ''' <remarks></remarks>
    Public Function GetuLMSCommonObject() As uLMSCommonIBusiness
        Return New uLMSCommonBusiness()
    End Function

    ''' <summary>
    ''' 批次管理业务类
    ''' </summary>
    ''' <returns></returns>
    ''' <remarks></remarks>
    Public Function GetuLMSContainerObject() As uLMSContainerIBusiness
        Return New uLMSContainerBusiness()
    End Function

    ''' <summary>
    ''' 工区派工业务类
    ''' </summary>
    ''' <returns></returns>
    ''' <remarks></remarks>
    Public Function GetuLMSDispatchObject() As uLMSDispatchIBusiness
        Return New uLMSDispatchBusiness()
    End Function

    ''' <summary>
    ''' 不合格品业务类
    ''' </summary>
    ''' <returns></returns>
    ''' <remarks></remarks>
    Public Function GetuLMSUnqualifiedObject() As uLMSUnqualifiedIBusiness
        Return New uLMSUnqualifiedBusiness()
    End Function

    ''' <summary>
    ''' 入库业务类
    ''' </summary>
    ''' <returns></returns>
    ''' <remarks></remarks>
    Public Function GetuLMSContainerInStoreObject() As uLMSContainerInStoreIBusiness
        Return New uLMSContainerInStoreBusiness()
    End Function

    ''' <summary>
    ''' 检测项业务类
    ''' </summary>
    ''' <returns></returns>
    ''' <remarks></remarks>
    Public Function GetuLMSStepCheckPointObject() As uLMSStepCheckPointIBusiness
        Return New uLMSStepCheckPointBusiness()
    End Function


    ''' <summary>
    ''' 检验业务类
    ''' </summary>
    ''' <returns></returns>
    ''' <remarks></remarks>
    Public Function GetuLMSCheckObject() As uLMSCheckIBusiness
        Return New uLMSCheckBusiness()
    End Function


    ''' <summary>
    ''' 报工业务类
    ''' </summary>
    ''' <returns></returns>
    ''' <remarks></remarks>
    Public Function GetuLMSWorkReportObject() As uLMSWorkReportIBusiness
        Return New uLMSWorkReportBusiness()
    End Function

    ''' <summary>
    ''' 集件业务类
    ''' </summary>
    ''' <returns></returns>
    ''' <remarks></remarks>
    Public Function GetuLMSIssueObject() As uLMSIssueIBusiness
        Return New uLMSIssueBusiness()
    End Function

    ''' <summary>
    ''' 转工业务类
    ''' </summary>
    ''' <returns></returns>
    ''' <remarks></remarks>
    Public Function GetuLMSContainerShipObject() As uLMSContainerShipIBusiness
        Return New uLMSContainerShipBusiness()
    End Function

    ''' <summary>
    ''' 计量委托
    ''' </summary>
    ''' <returns></returns>
    ''' <remarks></remarks>
    Public Function GetbjDelegateCheckObject() As uMES_bjDelegateCheckIBusiness
        Return New uMES_bjDelegateCheckBusiness()
    End Function

    ''' <summary>
    ''' 分卡
    ''' </summary>
    ''' <returns></returns>
    ''' <remarks></remarks>
    Public Function GetuLMSSplitObject() As uLMSSplitIBusiness
        Return New uLMSSplitBusiness()
    End Function

    ''' <summary>
    ''' 返工返修业务类
    ''' </summary>
    ''' <returns></returns>
    ''' <remarks></remarks>
    Public Function GetuLMSReWorkObject() As uLMSReWorkIBusiness
        Return New uLMSReWorkBusiness()
    End Function

    ''' <summary>
    ''' 工时
    ''' </summary>
    ''' <returns></returns>
    ''' <remarks></remarks>
    Public Function GetuLMSStepTimeObject() As uLMSStepTimeIBusiness
        Return New uLMSStepTimeBusiness()
    End Function

    ''' <summary>
    ''' 外委
    ''' </summary>
    ''' <returns></returns>
    ''' <remarks></remarks>
    Public Function GetuLMSCommissioning() As uLMSCommissioningIBusiness
        Return New uLMSCommissioningBusiness()
    End Function

    ''' <summary>
    ''' 委托计量
    ''' </summary>
    ''' <returns></returns>
    ''' <remarks></remarks>
    Public Function GetuLMSEntrustMetering() As uLMSEntrustIBusiness
        Return New uLMSEntrustBusiness()
    End Function

    ''' <summary>
    ''' 打印类
    ''' </summary>
    ''' <returns></returns>
    ''' <remarks></remarks>
    Public Function GetuLMSPrintObject() As uLMSContainerPrintIBusiness
        Return New uLMSContainerPrintBusiness
    End Function

    ''' <summary>
    ''' 接口管理类
    ''' </summary>
    ''' <returns></returns>
    ''' <remarks></remarks>
    Public Function GetuLMSInterfaceObject() As uLMSInterfaceLoginIBusiness
        Return New uLMSInterfaceLoginBusiness
    End Function

    ''' <summary>
    ''' 流水卡领料确认类
    ''' </summary>
    ''' <returns></returns>
    ''' <remarks></remarks>
    Public Function GetuLMSMaterialObject() As uLMSContainerMaterialIBusiness
        Return New uLMSContainerMaterialBusiness
    End Function

    ''' <summary>
    ''' 关键过程控制文档管理 create tianFW 2017/10/12
    ''' </summary>
    ''' <returns></returns>
    ''' <remarks></remarks>
    Public Function GetuLMSKeyProcessControlDoc() As uLMSKeyProcessControlDocIBusiness
        Return New uLMSKeyProcessControlDocBusiness
    End Function
    ''' <summary>
    ''' 
    ''' </summary>
    ''' <returns></returns>
    ''' <remarks></remarks>
    Public Function GetuLMSFocusProductObject() As uLMSFocusProductMaintIBusiness
        Return New uLMSFocusProductMaintBusiness
    End Function
    ''' <summary>
    ''' 部件计划类
    ''' </summary>
    ''' <returns></returns>
    ''' <remarks></remarks>
    Public Function GetuLMSPartPlanObject() As uLMSPartPlanIBusiness
        Return New uLMSPartPlanBusiness
    End Function
    ''' <summary>
    ''' 登录信息类 create tianFW 2018年1月5
    ''' </summary>
    ''' <returns></returns>
    ''' <remarks></remarks>
    Public Function GetuLMSUserLoginObject() As uLMSUserLoginIBusiness
        Return New uLMSUserLoginBusiness
    End Function

    ''' <summary>
    ''' 结转总表更新类 
    ''' add:Wangjh 20180612
    ''' </summary>
    ''' <returns></returns>
    ''' <remarks></remarks>
    Public Function GetuLMSContainerCurrentInfoObject() As uLMSContainercurrentinfoIBusiness
        Return New uLMSContainercurrentinfoBusiness
    End Function

    ''' <summary>
    ''' 工序关联子工艺工序类 add by tianFW 2018年12月5日
    ''' </summary>
    ''' <returns></returns>
    ''' <remarks></remarks>
    Public Function GetuLMSStepRelevantToSonWFStepObject() As uLMSStepRelevantToSonWFStepIBusiness
        Return New uLMSStepRelevantToSonWFStepBusiness()
    End Function

    ''' <summary>
    ''' 零件追溯类 add by Wangjh 2018年12月11日
    ''' </summary>
    ''' <returns></returns>
    ''' <remarks></remarks>
    Public Function GetuLMSProductQualityTraceObject() As uLMSProductQualityTraceIBusiness
        Return New uLMSProductQualityTraceBusiness()
    End Function
    ''' <summary>
    ''' 文档查看类 add by Wangjh 2018年12月26日
    ''' </summary>
    ''' <returns></returns>
    ''' <remarks></remarks>
    Public Function GetuLMSDocumetViewObject() As uLMSDocumetViewIBusiness
        Return New uLMSDocumetViewBusiness()
    End Function

    ''' <summary>
    ''' 角色类 add by Wangjh 2019年01月07日
    ''' </summary>
    ''' <returns></returns>
    ''' <remarks></remarks>
    Public Function GetuLMSRoleObject() As uLMSRoleIBusiness
        Return New uLMSRoleBusiness()
    End Function

    ''' <summary>
    ''' 菜单定义类   Create :tianfw 2019年1月8日
    ''' </summary>
    ''' <returns></returns>
    ''' <remarks></remarks>
    Public Function GetuLMSMenuDefinitionObject() As uLMSMenuDefinitionIBusiness
        Return New uLMSMenuDefinitionBusiness
    End Function

    ''' <summary>
    ''' 物料采购类 add by Wangjh 2019年04月11日
    ''' </summary>
    ''' <returns></returns>
    ''' <remarks></remarks>
    Public Function GetuLMSMaterialPlanObject() As uLMSMaterialPlanIBusiness
        Return New uLMSMaterialPlanBusiness()
    End Function
#End Region

#Region "装试分厂类"
    ''' <summary>
    ''' 装试分厂周转单串件单类yuxj20171031 
    ''' </summary>
    ''' <returns></returns>
    ''' <remarks></remarks>
    Public Function GetuLMSExchangeBillObject() As uLMSExchangeBillIbusiness
        Return New uLMSExchangeBillBusiness
    End Function

    ''' <summary>
    ''' 装试分厂排故单类yuxj20171031
    ''' </summary>
    ''' <returns></returns>
    ''' <remarks></remarks>
    Public Function GetuLMSdealFaultBillObject() As uLMSDealFaultBillIbusiness
        Return New uLMSdealFaultBillBusiness
    End Function

    ''' <summary>
    ''' 装试分厂任务单类yuxj20171205
    ''' </summary>
    ''' <returns></returns>
    ''' <remarks></remarks>
    Public Function GetuLMSIssueERPMaterialObject() As uLMSIssueERPMaterialIbusiness
        Return New uLMSIssueERPMaterialbusiness
    End Function

    ''' <summary>
    ''' 看板数据导入 add YangJiang 2018.03.20
    ''' </summary>
    ''' <returns></returns>
    ''' <remarks></remarks>
    Public Function GetuLMSLookBoardDataImportBusinessObject() As uLMSLookBoardDataImportIBusiness
        Return New uLMSLookBoardDataImportBusiness
    End Function
    ''' <summary>
    ''' 废品通知单信息类   Create : YangJiang  2018/03/19
    ''' </summary>
    ''' <returns></returns>
    ''' <remarks></remarks>
    Public Function GetuLMSScrapInfoBusinessObject() As uLMSScrapInfoIBusiness
        Return New uLMSScrapInfoBusiness
    End Function
    ''' <summary>
    ''' 批次工序计划类  Create：Yangjiang  20180327
    ''' </summary>
    ''' <returns></returns>
    ''' <remarks></remarks>
    Public Function GetuLMSContainerWorkFlowStepObject() As uLMSContainerWorkFlowStepIBusiness
        Return New uLMSContainerWorkFlowStepBusiness
    End Function

    ''' <summary>
    ''' 装试油封管理类   Create : Yuxj 20180906
    ''' </summary>
    ''' <returns></returns>
    ''' <remarks></remarks>
    Public Function GetuuLMSOilSealBusinessObject() As uLMSOilSealIBusiness
        Return New uLMSOilSealBusiness
    End Function

    ''' <summary>
    ''' 员工信息类   Create :tianfw 2019年1月5日
    ''' </summary>
    ''' <returns></returns>
    ''' <remarks></remarks>
    Public Function GetuLMSEmployeeObject() As uLMSEmployeeIBusiness
        Return New uLMSEmployeeBusiness
    End Function

    ''' <summary>
    ''' 例行试验类   Create :Wangjh 2019年6月26日
    ''' </summary>
    ''' <returns></returns>
    ''' <remarks></remarks>
    Public Function GetuLMSRoutineTestObject() As uLMSRoutineTestIBusiness
        Return New uLMSRoutineTestBusiness
    End Function
    ''' <summary>
    ''' 新机排产类   Create :Wangjh 20191017
    ''' </summary>
    ''' <returns></returns>
    ''' <remarks></remarks>
    Public Function GetNewMachineStepPlanObject() As uLMSNewMachineStepPlanIBusiness
        Return New uLMSNewMachineStepPlanBusiness
    End Function
#End Region
End Class
